/**
* Program   :   MailServices.java
* Author    :   shadow guo
* Create    :   2010-1-11 上午07:12:54
*
* Copyright 2008 by Tongfu Information Technology Co. Ltd
* All rights reserved.
*
* This software is the confidential and proprietary information
* of Tongfu Information Technology Co. Ltd. ("Confidential Information").  You
* shall not disclose such Confidential Information and shall use
* it only in accordance with the terms of the license agreement
* you entered into with Tongfu Information Technology Co. Ltd.
* 
*/

/**
 * 
 */
package com.tongfusoft.utils.mail;

import java.util.List;
import java.util.Map;

/**
 * @author shadowguo
 *
 */
public interface MailServices {
	/**
	 * 发送邮件
	 * @param mb
	 */
	public boolean sendEmail(MailBean mb);
	
	/**
	 * 批量发送邮件
	 * @param mbList
	 * @return success:List ;fail:List
	 */
	public Map<String,List<MailBean>> sendEmail(List<MailBean> mbList);
}
